<div >
    <nz-layout>
        <nz-header style="background-color: #1a90fc;color: white;">
            <div class="zdrwgzqd trans">
                <div>
                    <nz-affix>
                        <div nz-row>
                            <div nz-col nzSpan="6">
                                <div class="controlTitle" style="line-height: 56px;" (click)="toMain()">
                                    <!-- <button nz-button nzType="primary" nzShape="circle"><i nz-icon nzType="search"></i></button> -->
                                    <div class="logo round">
                                        <img src="./assets/control/kunming_headlogo.png">
                                    </div>
                                    <span class="logotit">协同办公系统</span>
                                </div>
                            </div>
                            <div nz-col nzSpan="10">
                                <div class="controlMenu">

                                </div>
                            </div>
                            <div nz-col nzSpan="8">
                                <div class="controlBar">
                                    <div class="wrap fl">
                                        <nz-avatar nzSize="small" nzIcon="user" class="controlHeaderAvatar fl">
                                        </nz-avatar>
                                        <span class="username fl">{{username}}（{{orgname}}）</span>
                                    </div>
                                    <div class="wrap fl">
                                        <i nz-popover class="logout" nzContent="退出登录" nzPlacement="bottomRight"
                                            (click)="logout()" nz-icon nzType="poweroff" nzTheme="outline"></i>
                                    </div>
                                    <div class="clear"></div>
                                </div>
                            </div>
                        </div>
                    </nz-affix>
                </div>
            </div>
        </nz-header>
        <nz-layout>
            <nz-sider class="alain-default__aside">
                <ul nz-menu nzMode="inline" nzInlineCollapsed="false">
                    <ng-container *ngFor="let item of menuList">
                        <li *ngIf="item.children" nz-submenu [nzTitle]="item.name" [nzIcon]="item.icon" nzOpen>
                            <ul>
                                <li *ngFor="let data of item.children" nz-menu-item nzMatchRouter='true'
                                    nzSelected="true">
                                    <a [routerLink]="[data.link]">{{data.name}}</a>
                                </li>
                            </ul>
                        </li>
                        <li *ngIf="!item.children" class="navlist">
                            <div class="wrap">
                                <i nz-icon [nzType]="item.icon" nzTheme="outline"></i>
                                <a [routerLink]="[item.link]" class="link">{{item.name}}</a>
                            </div>
                        </li>
                    </ng-container>
                </ul>
            </nz-sider>
            <nz-content style="background-color: white;">
                <div class="alain-default__content">
                    <reuse-tab class="ad-rt fixed"></reuse-tab>
                    <router-outlet></router-outlet>
                </div>
            </nz-content>
        </nz-layout>
    </nz-layout>
</div>